import Vue from "vue";
import echarts from "echarts";
// echart5版本会报错
// import * as echarts from "echarts/lib/echarts";
// 暴露出来是一个组件
import ECharts from "vue-echarts";

Vue.prototype.$echarts = echarts;
Vue.component("v-chart", ECharts);
